package com.tpu.bdclasses;
/**
 * @hibernate.class table="distance"  
 */
public class Distanse {
	private int distanse_id;
	private String name;
	private int price;
	private TheatreOrder toe;
	public Distanse(){}
	public Distanse(int distanse_id, String name, int price, TheatreOrder toe) {
		super();
		this.distanse_id = distanse_id;
		this.name = name;
		this.price = price;
		this.toe = toe;
	}
	public TheatreOrder getToe() {
		return toe;
	}
	public void setToe(TheatreOrder toe) {
		this.toe = toe;
	}
	 /**
	  * @hibernate.id generator-class="native" column="distanse_id"
	  */
	public int getDistanse_id() {
		return distanse_id;
	}
	public void setDistanse_id(int distanse_id) {
		this.distanse_id = distanse_id;
	}
	 /**
     * @hibernate.property column="name"
     */
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	 /**
     * @hibernate.property column="price"
     */
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	
	

}
